import dayjs from 'dayjs'

export const formatDate = (timeStr: string) => {
  return dayjs(timeStr).format('YYYY-MM-DD HH:mm:ss')
};

export default formatDate;
